A randomized sublinear time parallel GCD algorithm for the EREW PRAM

نویسنده

  • Jonathan P. Sorenson
چکیده

New Result EREW PRAM: Compute gcd(x, y) with probability 1 − o(1) in O(n log log n/ log n) time using n6+ processors. [16] Reduction Our inputs are integers x, y with x ≥ y > 0. • Choose a prime bound B > 0, and assume p | x or p | y implies p > B. • Choose a at random, 1 ≤ a ≤ y − 1. • Compute r := ax mod y. • Remove all prime divisors ≤ B from r producing s. Thus P (r/s) ≤ B. We use (x, y) → (y, s) for our reduction. We claim: • gcd(x, y) = gcd(y, s) with probability 1− o(1). (This fails only if gcd(a, y) > 1, or gcd(a, y) > B, which is unlikely.) •with probability at least 1/B, we have

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Sublinear Time Parallel GCD Algorithm for the EREW PRAM

We present a parallel algorithm that computes the greatest common divisor of two integers of n bits in length that takes O(n log logn/ logn) expected time using n processors on the EREW PRAM parallel model of computation. We believe this to be the first sublinear time algorithm on the EREW PRAM for this problem.

متن کامل

Faster Finding of Simple Cycles in Planar Graphs on a randomized EREW-PRAM

We show that if a planar graph has a simple cycle of length k, where k is a xed integer, such a cycle may be computed in O(log n) time by a randomized EREW-PRAM with O(n) processors with high probability. This improves a previous result of 8]. The improvement relies on an eecient parallel algorithm for computing a large independent set in a constant-degree-bounded connict graph, which is a natu...

متن کامل

A Note on Improving the Running Time of a Class of Parallel Algorithms Using Randomization

A natural method to avoid memory access connicts in EREW-PRAM graph algorithms is to compute a large independent set in a constant-degree-bounded connict graph. Many EREW-PRAM algorithms use results from CV 86], GPS 87], which can be used to compute such a set in O(log n) parallel time. This paper gives an O(1) time randomized algorithm using O(n) processors for that problem. Our algorithm impr...

متن کامل

Limitations of the QRQW and EREW PRAM Models

We consider parallel random access machines (PRAMs) with restricted access to the shared memory resulting from handling congestion of memory requests. We study the (SIMD) QRQW PRAM model where multiple requests are queued and serviced one at a time. We also consider exclusive read exclusive write (EREW) PRAM and its modification obtained by adding a single bus. For the QRQW PRAMs we investigate...

متن کامل

An Optimal Randomized Logarithmic Time Connectivity Algorithm for the Erew Pram

Improving a long chain of works we obtain a randomized EREW PRAM algorithm for nding the connected components of a graph G = (V; E) with n vertices and m edges in O(log n) time using an optimal number of O((m+n)= log n) processors. The result returned by the algorithm is always correct. The probability that the algorithm will not complete in O(log n) time is at most n ?c for any desired c > 0. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 110  شماره 

صفحات  -

تاریخ انتشار 2010